public class t1562_3 {
    public static void main(String[] args) {
        int arr[] = {3, 5, 1, 2, 4};
        int m = 1;
        int num = findLatestStep(arr, m);
        System.out.println(num);
    }
    public static int findLatestStep(int[] arr, int m) {

        return 0;
    }
}
